home *** CD-ROM | disk | FTP | other *** search
- Path: news.tdl.com!news
- From: Martin Moore <moore@tdl.com>
- Newsgroups: comp.lang.c++
- Subject: Re: BC++5.0 Program doesn't compile (see text)
- Date: Sat, 06 Apr 1996 19:46:35 -0800
- Organization: FlexSoft, Dublin CA.
- Message-ID: <31673A9B.AA@tdl.com>
- References: <31643314.794BDF32@nac.telco.com> <craigaDpEqDq.1DI@netcom.com> <marnoldDpFnn3.9FE@netcom.com>
- NNTP-Posting-Host: tdl-dyn48.tdl.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Matt Arnold wrote:
- >
- > craiga@netcom.com (Craig Arnush) writes:
- >
- > >Martin Moore <moore@nac.telco.com> writes:
- > >>
- > >>I cannot get the following program to compile...can anyone else?
- > >>
- > >>#include "vector.h"
- > >>using namespace std;
- > >>vector<long> test;
- >
- > Can you elaborate on "cannot get...to comiple"? What kind of error
- > messages or other symptoms are you getting? And, what compiler are
- > you using?
- >
-
- The error message from Borland C++ 5.0 (with patch BC50P1 installed) is
- "Access Violation: Address 0x blah blah blah" (my "blah"'s since the
- address is irrelevant). This is a compile time error, not a run time
- error, that is, it appears where warnings and true compile errors
- appear.
- This is really not a question addressing whether the program is
- syntactically correct. It is a question to anyone who has the same
- compiler and patch applied. Sorry for not making that clear.
-
- If you have that compiler (and possibly the patch), does it compile that
- snippet? Mine doesn't...and I wonder why, though I suspect the compiler
- is broken in this instance.
-
-
-
- --
- Martin Moore email: moore@tdl.com
- FlexSoft //// Technical Analysis and Quote Downloaders
- Technical Analysis Scanner (TAS) & Personal Ticker Tape (PTT)
- FlexSoft WEB Page http://www.flexsoft.com
- ftp at ftp://ftp.tdl.com/pub/moore
-